#pragma once
#include <thread>
#include "Service.h"

class Sunnet;
using namespace std;

class Worker{
    public:
        int id;
        int eachNum;
        void operator()();

    private:
        void CheckAndPutGlobal(shared_ptr<Service> srv);
};